//
//  HttpRequestList.h
//  测试
//
//  Created by user on 16/5/14.
//  Copyright © 2016年 Burning. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HttpTool.h"

@class TZBaseItem;
@class TZAdItem;
@class TZCommentItem;
@interface HttpRequestList : NSObject
/**
 *  电影列表请求
 *
 *  @param url        路径
 *  @param paramaters 参数
 *  @param success    成功回调
 *  @param failure    失败回调
 */
+ (void)requestMovieList:(NSString *)url paramaters :(id)paramaters success :(void(^)(id responseObject))success failure :(void(^)(NSError *error))failure;
/**
 *  活动板块列表请求
 *
 *  @param url        路径
 *  @param paramaters 参数
 *  @param success    成功回调
 *  @param failure    失败回调
 */

+ (void)requestActiveList :(NSString *)url paramaters:(id)paramaters success:(void (^)(NSArray *activeList))success failre:(void (^)(NSError *))failure;

/**
 *  精华板块列表请求
 *
 *  @param url        路径
 *  @param paramaters 参数
 *  @param success    成功回调
 *  @param failure    失败回调
 */
+ (void)requestEssenceList :(NSString *)url paramaters :(id)paramaters success :(void(^)(TZBaseItem *baseItem))success failure :(void(^)(NSError *error))failure;

/**
 *  请求精华详情(cell具体评论)
 *
 *  @param rul        路径
 *  @param paramaters 参数
 *  @param success    成功回调
 *  @param failure    失败回调
 */
+ (void)requestEssenceDetail :(NSString *)url paramaters :(id)paramaters success :(void(^)(TZCommentItem *commentItem))success failure :(void(^)(NSError *error))failure;

/**
 *  AD广告版本请求
 *
 *  @param url        路径
 *  @param paramaters 参数
 *  @param failure     成功回吊
 *  @param failure     失败回吊
 */
+ (void)requestAdvertising :(NSString *)url paramaters :(id)paramaters success :(void(^)(TZAdItem *adItem))success :(void(^)(NSError *error))failure;

@end
